
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@ taglib uri="http://struts.apache.org/tags-bean" prefix="bean" %>
<%@ taglib uri="http://struts.apache.org/tags-html" prefix="html" %>
<%@ taglib uri="http://struts.apache.org/tags-logic" prefix="logic" %>
<link rel="stylesheet" href="./css/estilo2.css" type="text/css" /> 
<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <%@include file="cabecera.jsp" %>
        <title>JSP Page</title>
    </head>
    <body>
        <div class="contenedor">
            <html:form action="/EditarTarjeta">
                <logic:notEmpty name="tarjeta" >
                    <table border="1">
                        <tbody>
                            <tr>
                                <td>N&uacute;mero</td>
                                <td><html:text name="tarjeta" property="numero" /></td>
                            </tr>
                            <tr>
                                <td>C&oacute;digo de seguridad</td>
                                <td><html:text name="tarjeta" property="codigoSeguridad" /></td>
                            </tr>
                            <tr>
                                <td>Fecha de caducidad</td>
                                <td><html:text name="tarjeta" property="fechaCaducidad" /></td>
                            </tr>
                            <tr>
                                <td>Pin</td>
                                <td><html:password name="tarjeta" property="pin" readonly="true" /></td>
                            </tr>
                            <tr>
                                <td>Tipo</td>
                                <td><html:text name="tarjeta" property="tipo" /></td>
                            </tr>
                            <tr>
                                <td colspan="2"><html:submit value="Actualizar" /></td>
                            </tr>
                        </tbody>
                    </table>
                </logic:notEmpty>
            </html:form>
        </div>
    </body>
</html>
